virtual class uvm_component extends uvm_object;
	uvm_component m_parent;

	function new(string name, uvm_component parent);
		super.new(name);
		m_parent = parent;
	endfunction

	virtual function void build_phase(); return; endfunction // 创建子组件对象
	virtual function void connect_phase(); return; endfunction // 连接子组件对象
	virtual task main_phase(); return; endtask // 运行子组件对象
endclass
